View Issue Details

IDProjectCategoryView StatusLast Update
0002004T99X171.00 SKB EagleSWpublic2024-11-07 16:15
Reporter(ALTech) Jong-Hwa JUNGAssigned To(SW) Kinbay Wu Due Date
PrioritynormalSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0002004: SKB's question about /data/fw.zip
DescriptionDear Kinbay

SKB found following update history and there is log information for /data/fw.zip.
And SKB want to know who are set /data/fw.zip file. M/W company already report they don't use /data/fw.zip.
Could you let me know whether /data/fw.zip is used at mass production stage of foxconn ?
If you know about /data/fw.zip file, please let me know in more detail.

usage `--update_package=/data/fw.zip' format :
<last_log file>
[ 0.021255] /system/bin/recovery: unrecognized option `--update_package=/data/fw.zip'
[ 0.038801] Failed to find/open a drm device: No such file or directory
[ 0.039014] fb0 reports (possibly inaccurate):
[ 0.039024] vi.bits_per_pixel = 32
[ 0.039031] vi.red.offset = 16 .length = 8
[ 0.039038] vi.green.offset = 8 .length = 8
[ 0.039044] vi.blue.offset = 0 .length = 8
[ 0.569676] framebuffer: 0 (1920 x 1080)
[ 0.649359] erasing_text: ko (109 x 38 @ 2886)
[ 0.656607] no_command_text: ko (134 x 38 @ 2886)
[ 0.662806] error_text: ko (58 x 38 @ 2886)
[ 1.306302] __bionic_open_tzdata: couldn't find any tzdata when looking for Asia/Seoul!
[ 1.314930] SELinux: Skipping /product_file_contexts: empty file
[ 1.315079] SELinux: Skipping /odm_file_contexts: empty file
[ 1.315177] SELinux: Loaded file_contexts
[ 1.315201] stage is []
[ 1.315209] reason is [(null)]
[ 1.315264] Command: "/system/bin/recovery" "--update_package=/data/fw.zip" "--locale=ko-KR"

<upgradesvc.log file>
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - isUpgrade upgradedFilePath : /data/fw.zip checkUpgradeViaFileName : false
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - isFWUpgraded : false isFWUpgradeSuccess:true isFWChanged:true
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - -----------------------------------------------
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - Check Recovery Upgrade - Detect Recovery Upgrade
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - -----------------------------------------------
[2023-03-27 21:19:15] INF [EdmpServiceImpl] - isFwUpgrade : false upgradedFilePath:/data/fw.zip

Thank you. Best Regards.
JONGWHA/JUNG
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(SW) Kinbay Wu

2024-10-22 17:39

developer   ~0016869

Hi JunGyu
 
This step in our manufacturing process will perform an OTA FW upgrade from production FW to shipping FW.
All the ota upgrade logs will be saved under the cache.
 
BR,
Kinbay

(ALTech) Jong-Hwa JUNG

2024-10-22 19:59

developer   ~0016870

Dear Kinbay

we want to know exactly
1. whether foxconn use /data/fw.zip file in mass production step.
2. and if it is, what is /data/fw.zip. ((is it shipping fw? )

Thank you.Best Regards
JONGHWA/JUNG

(SW) Kinbay Wu

2024-10-23 09:02

developer   ~0016871

Hi JunGyu

1. whether foxconn use /data/fw.zip file in mass production step.
=> Yes.
2. and if it is, what is /data/fw.zip. ((is it shipping fw? )
=> Yes, it is shipping fw.

BR,
Kinbay

(ALTech) Jong-Hwa JUNG

2024-10-23 09:44

developer   ~0016872

Dear Kinbay

Thank you for quick udpates.
In addition, we want to know below 2 items.
1. Is /data/fw.zip file deleted in mass production step ?
2. After FW upgarde to shipping FW, we do 'factory default' ?

Best Regards
JONGHWA/JUNG

(SW) Kinbay Wu

2024-10-23 11:26

developer   ~0016875

Hi JunGyu

1. Is /data/fw.zip file deleted in mass production step ?
=> Yes
2. After FW upgarde to shipping FW, we do 'factory default' ?
=> Yes

After FW upgrade the process will check the property "ro.vendor.vasott.buildtype" is fac build and wipe data partition.
So if execute wipe data the fw.zip under the /data will be removed.

BR,
Kinbay

(ALTech) Jong-Hwa JUNG

2024-10-23 12:08

developer   ~0016876

Dear Kinbay

Could you double check one more time whether factory default is done after FW upgrade ?
Because we received log information related with /data/fw.zip from SKB like description of this issue.

Best Regards.
JONGHWA/JUNG

(SW) Jerry Lin

2024-10-23 14:29

developer   ~0016880

Hi JunGyu ,
I double check with FAC fw upgrade to shipping FW.
I can not find /data/fw.zip in shipping FW.
Please check with the following message that i capture from console.

1. //// FAC fw (version:15.523.06)
console:/ # fac get_version
k000b-523r06_SD_fac-20211001

2. //// FAC fw --> check data paration
1|console:/ # ls -l /data/

total 336
drwx------ 2 root root 4096 2015-01-01 09:00 adb
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 anr
drwxr-x--- 5 root system 4096 2015-01-01 09:00 apex
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app
drwx------ 2 root root 4096 2015-01-01 09:00 app-asec
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-ephemeral
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-lib
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-private
drwxr-x--- 2 system system 4096 2015-01-01 09:00 app-staging
drwx------ 4 system system 4096 2021-10-01 10:25 backup
drwxr-xr-x 2 shell shell 4096 2015-01-01 09:00 bootchart
lrwxrwxrwx 1 system system 9 2015-01-01 09:00 btv_home -> /btv_home
drwxrwx--- 5 system cache 4096 2015-01-01 09:00 cache
drwxrwx--x 3 root root 4096 2015-01-01 09:00 dalvik-cache
drwxrwx--x 69 system system 4096 2021-10-01 10:25 data
drwxrwx--- 2 drm drm 4096 2015-01-01 09:00 drm
drwx------ 3 root root 4096 2015-01-01 09:00 gsi
drwxr-x--x 4 root root 4096 2015-01-01 09:00 local
drwxrwx--- 2 root root 16384 2015-01-01 09:00 lost+found
drwxrwx--- 3 media_rw media_rw 4096 2021-10-01 10:25 media
drwxrwx--- 2 mediadrm mediadrm 4096 2015-01-01 09:00 mediadrm
drwxrwx--t 45 system misc 4096 2015-01-01 09:00 misc
drwxrwx--t 3 system misc 4096 2021-10-01 10:25 misc_ce
drwxrwx--t 3 system misc 4096 2015-01-01 09:00 misc_de
drwxrwx--- 3 nfc nfc 4096 2015-01-01 09:00 nfc
drwxrwx--x 2 root root 4096 2015-01-01 09:00 ota
drwxrwx--- 2 system cache 4096 2015-01-01 09:00 ota_package
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 preloads
drwx------ 2 root root 4096 2021-10-01 10:25 property
drwxrwx--x 2 system system 4096 2015-01-01 09:00 resource-cache
drwx------ 2 system system 4096 2015-01-01 09:00 rollback
drwx------ 2 system system 4096 2015-01-01 09:00 rollback-observer
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 server_configurable_flags
drwxrwxrwx 3 system system 4096 2015-01-01 09:00 skb_data
drwx------ 2 system system 4096 2015-01-01 09:00 ss
drwxrwxr-x 19 system system 4096 2021-10-01 10:26 system
drwxrwx--- 3 system system 4096 2021-10-01 10:25 system_ce
drwxrwx--- 3 system system 4096 2015-01-01 09:00 system_de
drwxrwx--x 2 system system 4096 2015-01-01 09:00 tombstones
drwx--x--x 2 system system 4096 2015-01-01 09:00 user
drwx--x--x 3 system system 4096 2015-01-01 09:00 user_de
drwxrwx--x 8 root root 4096 2015-01-01 09:00 vendor
drwxrwx--x 3 root root 4096 2021-10-01 10:25 vendor_ce
drwxrwx--x 3 root root 4096 2015-01-01 09:00 vendor_de
console:/ #

3. //// FAC fw --> copy fw.zip from USB to /data/
console:/ # fac set_prod
copy fw.zip from USB...
check src md5...
fw.md5 found
md5_src=335608ed03a1b498a0b87f275142bb16
check dst md5...
md5_dst=335608ed03a1b498a0b87f275142bb16
SUCCESS

4. //// FAC fw --> check /data/
1|console:/ # ls -l /data/
total 879580
drwx------ 2 root root 4096 2015-01-01 09:00 adb
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 anr
drwxr-x--- 5 root system 4096 2015-01-01 09:00 apex
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app
drwx------ 2 root root 4096 2015-01-01 09:00 app-asec
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-ephemeral
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-lib
drwxrwx--x 2 system system 4096 2015-01-01 09:00 app-private
drwxr-x--- 2 system system 4096 2015-01-01 09:00 app-staging
drwx------ 4 system system 4096 2021-10-01 10:25 backup
drwxr-xr-x 2 shell shell 4096 2015-01-01 09:00 bootchart
lrwxrwxrwx 1 system system 9 2015-01-01 09:00 btv_home -> /btv_home
drwxrwx--- 5 system cache 4096 2015-01-01 09:00 cache
drwxrwx--x 3 root root 4096 2015-01-01 09:00 dalvik-cache
drwxrwx--x 69 system system 4096 2021-10-01 10:25 data
drwxrwx--- 2 drm drm 4096 2015-01-01 09:00 drm
-rwxrwxrwx 1 root root 900340610 2021-10-01 10:28 fw.zip <======== HERE (have fw.zip)
drwx------ 3 root root 4096 2015-01-01 09:00 gsi
drwxr-x--x 4 root root 4096 2015-01-01 09:00 local
drwxrwx--- 2 root root 16384 2015-01-01 09:00 lost+found
drwxrwx--- 3 media_rw media_rw 4096 2021-10-01 10:25 media
drwxrwx--- 2 mediadrm mediadrm 4096 2015-01-01 09:00 mediadrm
drwxrwx--t 45 system misc 4096 2021-10-01 10:28 misc
drwxrwx--t 3 system misc 4096 2021-10-01 10:25 misc_ce
drwxrwx--t 3 system misc 4096 2015-01-01 09:00 misc_de
drwxrwx--- 3 nfc nfc 4096 2015-01-01 09:00 nfc
drwxrwx--x 2 root root 4096 2015-01-01 09:00 ota
drwxrwx--- 2 system cache 4096 2015-01-01 09:00 ota_package
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 preloads
drwx------ 2 root root 4096 2021-10-01 10:25 property
drwxrwx--x 2 system system 4096 2015-01-01 09:00 resource-cache
drwx------ 2 system system 4096 2015-01-01 09:00 rollback
drwx------ 2 system system 4096 2015-01-01 09:00 rollback-observer
drwxrwxr-x 2 system system 4096 2015-01-01 09:00 server_configurable_flags
drwxrwxrwx 3 system system 4096 2015-01-01 09:00 skb_data
drwx------ 2 system system 4096 2015-01-01 09:00 ss
drwxrwxr-x 19 system system 4096 2021-10-01 10:27 system
drwxrwx--- 3 system system 4096 2021-10-01 10:25 system_ce
drwxrwx--- 3 system system 4096 2015-01-01 09:00 system_de
drwxrwx--x 2 system system 4096 2015-01-01 09:00 tombstones
drwx--x--x 2 system system 4096 2015-01-01 09:00 user
drwx--x--x 3 system system 4096 2015-01-01 09:00 user_de
drwxrwx--x 8 root root 4096 2015-01-01 09:00 vendor
drwxrwx--x 3 root root 4096 2021-10-01 10:25 vendor_ce
drwxrwx--x 3 root root 4096 2015-01-01 09:00 vendor_de

5. /////
   OTA from FAC fw to shipping FW
   /////

     ///// upgtrade finished
6. ///// shipping FW in data paration (version:15.536.26)
console:/ $ su
console:/ # getprop | grep version
[ro.boot.avb_version]: [1.1]
[ro.boot.vbmeta.avb_version]: [1.1]
[ro.build.version.all_codenames]: [REL]
[ro.build.version.base_os]: []
[ro.build.version.codename]: [REL]
[ro.build.version.incremental]: [15.536.26-20230327]
[ro.build.version.min_supported_target_sdk]: [23]
[ro.build.version.preview_sdk]: [0]
[ro.build.version.preview_sdk_fingerprint]: [REL]
[ro.build.version.release]: [10]
[ro.build.version.sdk]: [29]
[ro.build.version.security_patch]: [2023-02-01]
[ro.odm.build.version.incremental]: [15.536.26-20230327]
[ro.odm.build.version.release]: [10]
[ro.odm.build.version.sdk]: [29]
[ro.opengles.version]: [196610]
[ro.product.build.version.incremental]: [15.536.26-20230327]
[ro.product.build.version.release]: [10]
[ro.product.build.version.sdk]: [29]
[ro.property_service.version]: [2]
[ro.system.build.version.incremental]: [15.536.26-20230327]
[ro.system.build.version.release]: [10]
[ro.system.build.version.sdk]: [29]
[ro.vendor.build.version.incremental]: [15.536.26-20230327]
[ro.vendor.build.version.release]: [10]
[ro.vendor.build.version.sdk]: [29]
[ro.vendor.fw.version]: [15.536.26]
[ro.vendor.vasott.version]: [k000b-536r26_SD-20230327]
[ro.vndk.version]: [29]
[vendor.skb.hdmi.pq.dbversion]: []
[vendor.skb.hdmi.pq.toolversion]: [Amlogic PQ Tool 2.0]
console:/ #

7. ///// shipping FW --> check data paration and can not find fw.zip in data paration.
console:/ # ls -l /data/
total 336
drwx------ 2 root root 4096 2021-10-01 10:26 adb
drwxrwxr-x 2 system system 4096 2021-10-01 10:26 anr
drwxr-x--- 5 root system 4096 2021-10-01 10:26 apex
drwxrwx--x 2 system system 4096 2021-10-01 10:26 app
drwx------ 2 root root 4096 2021-10-01 10:26 app-asec
drwxrwx--x 2 system system 4096 2021-10-01 10:26 app-ephemeral
drwxrwx--x 2 system system 4096 2021-10-01 10:26 app-lib
drwxrwx--x 2 system system 4096 2021-10-01 10:26 app-private
drwxr-x--- 2 system system 4096 2021-10-01 10:26 app-staging
drwx------ 2 system system 4096 2021-10-01 10:26 backup
drwxr-xr-x 2 shell shell 4096 2021-10-01 10:26 bootchart
lrwxrwxrwx 1 root root 9 2021-10-01 10:26 btv_home -> /btv_home
drwxrwx--- 5 system cache 4096 2021-10-01 10:26 cache
drwxrwx--x 3 root root 4096 2021-10-01 10:26 dalvik-cache
drwxrwx--x 110 system system 4096 2023-03-27 19:59 data
drwxrwx--- 2 drm drm 4096 2021-10-01 10:26 drm
drwx------ 3 root root 4096 2021-10-01 10:26 gsi
drwxr-x--x 4 root root 4096 2021-10-01 10:26 local
drwxrwx--- 2 root root 16384 2021-10-01 10:27 lost+found
drwxrwx--- 3 media_rw media_rw 4096 2021-10-01 10:26 media
drwxrwx--- 2 mediadrm mediadrm 4096 2021-10-01 10:26 mediadrm
drwxrwx--t 45 system misc 4096 2021-10-01 10:26 misc
drwxrwx--t 2 system misc 4096 2021-10-01 10:26 misc_ce
drwxrwx--t 3 system misc 4096 2021-10-01 10:26 misc_de
drwxrwx--- 3 nfc nfc 4096 2021-10-01 10:26 nfc
drwxrwx--x 2 root root 4096 2021-10-01 10:26 ota
drwxrwx--- 2 system cache 4096 2021-10-01 10:26 ota_package
drwxrwxr-x 2 system system 4096 2021-10-01 10:26 preloads
drwx------ 2 root root 4096 2021-10-01 10:26 property
drwxrwx--x 2 system system 4096 2021-10-01 10:26 resource-cache
drwx------ 2 system system 4096 2021-10-01 10:26 rollback
drwx------ 2 system system 4096 2021-10-01 10:26 rollback-observer
drwxrwxr-x 2 system system 4096 2021-10-01 10:26 server_configurable_flags
drwxrwxrwx 3 system system 4096 2021-10-01 10:26 skb_data
drwx------ 2 system system 4096 2021-10-01 10:26 ss
drwxrwxr-x 12 system system 4096 2023-03-27 19:58 system
drwxrwx--- 2 system system 4096 2021-10-01 10:26 system_ce
drwxrwx--- 3 system system 4096 2021-10-01 10:26 system_de
drwxrwx--x 2 system system 4096 2021-10-01 10:26 tombstones
drwx--x--x 2 system system 4096 2021-10-01 10:26 user
drwx--x--x 3 system system 4096 2021-10-01 10:26 user_de
drwxrwx--x 8 root root 4096 2021-10-01 10:26 vendor
drwxrwx--x 2 root root 4096 2021-10-01 10:26 vendor_ce
drwxrwx--x 3 root root 4096 2021-10-01 10:26 vendor_de


Jerry

(ALTech) Jong-Hwa JUNG

2024-11-07 16:15

developer   ~0016946

Dear Kinbay
I close this ticket.
I appreciate your support. Best Regards.
JONGHWA/JUNG

Issue History

Date Modified Username Field Change
2024-10-22 13:20 (ALTech) Jong-Hwa JUNG New Issue
2024-10-22 13:20 (ALTech) Jong-Hwa JUNG Status new => assigned
2024-10-22 13:20 (ALTech) Jong-Hwa JUNG Assigned To => (SW) Kinbay Wu
2024-10-22 13:21 (ALTech) Jong-Hwa JUNG Issue Monitored: (ALTech) Younkwang Jung
2024-10-22 13:21 (ALTech) Jong-Hwa JUNG Issue Monitored: (ALTech) JunGyu Kim
2024-10-22 13:21 (ALTech) Jong-Hwa JUNG Issue Monitored: (ALTech) Wooshin Kang
2024-10-22 17:03 (SW) Kerwin Chen Severity s2-severe => s4-minor
2024-10-22 17:39 (SW) Kinbay Wu Note Added: 0016869
2024-10-22 19:59 (ALTech) Jong-Hwa JUNG Note Added: 0016870
2024-10-23 09:02 (SW) Kinbay Wu Note Added: 0016871
2024-10-23 09:44 (ALTech) Jong-Hwa JUNG Note Added: 0016872
2024-10-23 11:26 (SW) Kinbay Wu Note Added: 0016875
2024-10-23 12:08 (ALTech) Jong-Hwa JUNG Note Added: 0016876
2024-10-23 14:29 (SW) Jerry Lin Note Added: 0016880
2024-11-07 16:15 (ALTech) Jong-Hwa JUNG Status assigned => closed
2024-11-07 16:15 (ALTech) Jong-Hwa JUNG Resolution open => fixed
2024-11-07 16:15 (ALTech) Jong-Hwa JUNG Note Added: 0016946